<template> 
  <div class="home">
    <el-container>
      <top-bar></top-bar>
      <el-header height="60px">
        <span>
          <img class="logo" src="../assets/img/logo.png" />
          <span>机票预订系统</span>
          <head-bar></head-bar>
        </span>
      </el-header>
      <el-main> 
				<buy-ticket-box></buy-ticket-box>
      </el-main>
      <el-footer>关于我们</el-footer>
    </el-container>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import HeadBar from '@/components/Common/HeadBar.vue';
import TopBar from '@/components/Common/TopBar.vue';
import BuyTicketBox from '@/components/BuyTicket/index.vue';
export default defineComponent({
  components: { HeadBar, TopBar, BuyTicketBox },
});
</script>

<style lang="scss" scoped>
@import "@/assets/css/config.scss";

.el-container {
  min-width: 1500px;
  padding: 0;
}
.el-header {
  display: inline;
  margin: 30px auto 70px;
  padding: 0;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 60px;
  * {
    float: left;
  }
  span {
    padding: 20px 10px;
    img {
      margin-right: 20px;
      float: left;
      height: 60px;
    }
    span {
      padding: 0;
      margin-left: 30px;
      margin-right: 70px;
      margin-bottom: 20px;
      font-size: 40px;
    }
    ul {
      margin-left: 40px;
      margin-right: 350px;
      padding: 0;
    }
  }
}
.el-footer {
  margin: 30px 0 10px;
  padding: 0;
  background-color: #223c61;
  color: rgb(255, 255, 255);
  text-align: center;
  line-height: 60px;
}
.el-main {
  // background-image: url('../assets/img/main-bg.png');
  background-color: #ffffff;
  min-height: 600px;
  border: solid 2px $themeLightGray;
  border-width: 20px 0 0 0 ;
  
  padding: 10px 20px;
	 div {
    position: relative;
    top: 0px;
    left: 150px;
  }
}
</style>
